package com.fourth.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Value;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 * @author Lalisa
 */
@Data
@ApiModel(value = "修改应用状态类")
public class ChangeApplyStatusDto {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 应用状态
     */
    @Max(value = 2, message = "状态值不能超过2")
    @Min(value = 0, message = "状态值不能低于0")
    @ApiModelProperty(value = "应用状态")
    private Integer applyStatus;
}
